#ifndef TICKETMANAGEMENT_H
#define TICKETMANAGEMENT_H

#include <QString>

#include "DataStruct.h"

class TicketManagement
{
public:
    static QString queryTicket(QString ticketID);

    static QString *addTicket(QString trainNum);
    static void deleteTicket();
    static void modifyTicket(int startIndex, int arrivalIndex, int seatNum, double price);

private:
    static Ticket ticket;
    static Train train;

};

#endif // TICKETMANAGEMENT_H
